<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<title>接口测试</title>
	<meta content="text/html;charset=utf-8" http-equiv="content-type">
	<link rel="stylesheet" href="{{ URL::asset('/vendor/admin/frame/bootstrap/css/bootstrap.css') }}">
	<link rel="stylesheet" href="{{ URL::asset('/vendor/api/jquery-jsonview-master/jquery.jsonview.min.css') }}">
	<script src="{{ URL::asset('/vendor/api/js/jquery.js') }}"></script>
	<script src="{{ URL::asset('/vendor/api/jquery-jsonview-master/jquery.jsonview.min.js') }}"></script>
</head>

<body>
	<button type="submit" id="submit_btn" class="btn btn-default">提交视频</button>

<div id="content"></div>
<script>
$('#submit_btn').click(function(){

	$.post('http://ecf.windonwd.local/api/index_videoUpload',{
		ClientSource:'3',
		ClientSystem:'micromessenger',
		Version:'3.1',
		_cmd:'index_videoUpload',
		ticket:'565ACC89E-EA86-AC54-65B2-28EA3F12451A',
		video_file:"C:\\Users\\Administrator\\Pictures\\69fce30d2820dda35e9beeb8bc632fd6.mp4",
		sign:'aca75b054c6c6f9744cd7410ef2eb201'

		},function(data){
				$('#content').JSONView(data, { nl2br: true });
				console.log(data);
			},'json');
});

</script>
</body>

</html>